package com.xzy.annotaion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 校验数据权限
 *
 * @author xzy.xiao
 * @date 2023/6/16  9:40
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface CheckDataPermission {
    String dataType();

    Class<?> paraClass();

    String primaryKeyField();
}
